#ifndef DEBUGGER_H
#define DEBUGGER_H

#include <QtGui>

class Debugger : public QMainWindow
{
 public:
    static Debugger* getInstance(QWidget *qw = 0);
    static void Destroy();
    void Add(const QString& str);
    void Add(const char s);

 private:
    Debugger(QWidget *qw = 0);
    ~Debugger();
    Debugger(const Debugger& db);
    static Debugger* instance;

    QMainWindow* window;
    QTextEdit* edit;
};

#endif // DEBUGGER_H
